package com.springboot.cloud.demos.entity.form;

import com.springboot.cloud.common.web.entity.form.BaseForm;
import com.springboot.cloud.demos.entity.po.Follow;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@ApiModel
@Data
public class FollowForm extends BaseForm<Follow> {

    @NotBlank(message = "关注用户ID不能为空")
    @ApiModelProperty(value = "关注的用户ID")
    private String followUserId;
    @NotBlank(message = "userId不能为空")
    @ApiModelProperty(value = "userId登录的用户ID")
    private String userId;
}
